<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
</head>
<body>
	<script>
		let str ='js1232hh哈哈555妮妮'
		//通过哈子来判断需要截取的部分
		let ep=/(?<=哈)\d+/
		//表示之前必须要有‘哈’
		let a=ep.exec(str)
		console.log(a);
	</script>
</body>
</html>